<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/async.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('async_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">async.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="async_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Copyright(c) 2018 Gabi Melman.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// Distributed under the MIT License (http://opensource.org/licenses/MIT)</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// Async logging using global thread pool</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// All loggers created here share same global thread pool.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// Each log message is pushed to a queue along withe a shared pointer to the</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// logger.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// If a logger deleted while having pending messages in the queue, it&#39;s actual</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// destruction will defer</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// until all its messages are processed by the thread pool.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">// This is because each message in the queue holds a shared_ptr to the</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">// originating logger.</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="async__logger_8h.html">spdlog/async_logger.h</a>&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="registry_8h.html">spdlog/details/registry.h</a>&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="thread__pool_8h.html">spdlog/details/thread_pool.h</a>&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;mutex&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacespdlog.html">   27</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacespdlog.html">spdlog</a> {</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1details.html">   29</a></span>&#160;<span class="keyword">namespace </span>details {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1details.html#a050e412794a5af8916ef36e4ed100c25">   30</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">size_t</span> <a class="code" href="namespacespdlog_1_1details.html#a050e412794a5af8916ef36e4ed100c25">default_async_q_size</a> = 8192;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;}</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// async logger factory - creates async loggers backed with thread pool.</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// if a global thread pool doesn&#39;t already exist, create it with default queue</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// size of 8192 items and single thread.</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">template</span>&lt;async_overflow_policy OverflowPolicy = async_overflow_policy::block&gt;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structspdlog_1_1async__factory__impl.html">   37</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structspdlog_1_1async__factory__impl.html">async_factory_impl</a></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;{</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Sink, <span class="keyword">typename</span>... SinkArgs&gt;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structspdlog_1_1async__factory__impl.html#aed57f6cc7291729dbc7a81b3a6b6475c">   40</a></span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;async_logger&gt; <a class="code" href="structspdlog_1_1async__factory__impl.html#aed57f6cc7291729dbc7a81b3a6b6475c">create</a>(std::string logger_name, SinkArgs &amp;&amp;... args)</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keyword">auto</span> &amp;registry_inst = <a class="code" href="classspdlog_1_1details_1_1registry.html#a58a1bbb352f751f6b729bc57bfadd6be">details::registry::instance</a>();</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="comment">// create global thread pool if not already exists..</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        std::lock_guard&lt;std::recursive_mutex&gt; tp_lock(registry_inst.tp_mutex());</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keyword">auto</span> tp = registry_inst.get_tp();</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">if</span> (tp == <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            tp = std::make_shared&lt;details::thread_pool&gt;(<a class="code" href="namespacespdlog_1_1details.html#a050e412794a5af8916ef36e4ed100c25">details::default_async_q_size</a>, 1);</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            registry_inst.set_tp(tp);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        }</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keyword">auto</span> sink = std::make_shared&lt;Sink&gt;(std::forward&lt;SinkArgs&gt;(args)...);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keyword">auto</span> new_logger = std::make_shared&lt;async_logger&gt;(std::move(logger_name), std::move(sink), std::move(tp), OverflowPolicy);</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        registry_inst.initialize_logger(new_logger);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">return</span> new_logger;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;};</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a962b94a80258f9a202d590888349577c">   60</a></span>&#160;<span class="keyword">using</span> <a class="code" href="structspdlog_1_1async__factory__impl.html">async_factory</a> = <a class="code" href="structspdlog_1_1async__factory__impl.html">async_factory_impl&lt;async_overflow_policy::block&gt;</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a796f2e548cff4f12a5b2a52b07d3128b">   61</a></span>&#160;<span class="keyword">using</span> <a class="code" href="structspdlog_1_1async__factory__impl.html">async_factory_nonblock</a> = <a class="code" href="structspdlog_1_1async__factory__impl.html">async_factory_impl&lt;async_overflow_policy::overrun_oldest&gt;</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Sink, <span class="keyword">typename</span>... SinkArgs&gt;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="namespacespdlog.html#af77f6ade95bb20dc2cf121403fbe1542">   64</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;spdlog::logger&gt; <a class="code" href="namespacespdlog.html#af77f6ade95bb20dc2cf121403fbe1542">create_async</a>(std::string logger_name, SinkArgs &amp;&amp;... sink_args)</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;{</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordflow">return</span> async_factory::create&lt;Sink&gt;(std::move(logger_name), std::forward&lt;SinkArgs&gt;(sink_args)...);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;}</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> Sink, <span class="keyword">typename</span>... SinkArgs&gt;</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespacespdlog.html#ae58cce84c661c9d8726ab60c4d40e455">   70</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;spdlog::logger&gt; <a class="code" href="namespacespdlog.html#ae58cce84c661c9d8726ab60c4d40e455">create_async_nb</a>(std::string logger_name, SinkArgs &amp;&amp;... sink_args)</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;{</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">return</span> async_factory_nonblock::create&lt;Sink&gt;(std::move(logger_name), std::forward&lt;SinkArgs&gt;(sink_args)...);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;}</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">// set global thread pool.</span></div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a17a4d95759b4076827905fd8f6b10d36">   76</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="namespacespdlog.html#a17a4d95759b4076827905fd8f6b10d36">init_thread_pool</a>(<span class="keywordtype">size_t</span> q_size, <span class="keywordtype">size_t</span> thread_count)</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;{</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keyword">auto</span> tp = std::make_shared&lt;details::thread_pool&gt;(q_size, thread_count);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="classspdlog_1_1details_1_1registry.html#a58a1bbb352f751f6b729bc57bfadd6be">details::registry::instance</a>().<a class="code" href="classspdlog_1_1details_1_1registry.html#aa5503db04a70a06f97e7c1218aa8cbe2">set_tp</a>(std::move(tp));</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;}</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="comment">// get the global thread pool.</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="namespacespdlog.html#a6676a1ffb5ea174a2392ab0317bbcff2">   83</a></span>&#160;<span class="keyword">inline</span> std::shared_ptr&lt;spdlog::details::thread_pool&gt; <a class="code" href="namespacespdlog.html#a6676a1ffb5ea174a2392ab0317bbcff2">thread_pool</a>()</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;{</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classspdlog_1_1details_1_1registry.html#a58a1bbb352f751f6b729bc57bfadd6be">details::registry::instance</a>().<a class="code" href="classspdlog_1_1details_1_1registry.html#af86cd2fcbec489ebc343815f49a6e076">get_tp</a>();</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;} <span class="comment">// namespace spdlog</span></div><div class="ttc" id="classspdlog_1_1details_1_1registry_html_af86cd2fcbec489ebc343815f49a6e076"><div class="ttname"><a href="classspdlog_1_1details_1_1registry.html#af86cd2fcbec489ebc343815f49a6e076">spdlog::details::registry::get_tp</a></div><div class="ttdeci">std::shared_ptr&lt; thread_pool &gt; get_tp()</div><div class="ttdef"><b>Definition:</b> <a href="registry_8h_source.html#l00112">registry.h:112</a></div></div>
<div class="ttc" id="namespacespdlog_html_a17a4d95759b4076827905fd8f6b10d36"><div class="ttname"><a href="namespacespdlog.html#a17a4d95759b4076827905fd8f6b10d36">spdlog::init_thread_pool</a></div><div class="ttdeci">void init_thread_pool(size_t q_size, size_t thread_count)</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00076">async.h:76</a></div></div>
<div class="ttc" id="structspdlog_1_1async__factory__impl_html_aed57f6cc7291729dbc7a81b3a6b6475c"><div class="ttname"><a href="structspdlog_1_1async__factory__impl.html#aed57f6cc7291729dbc7a81b3a6b6475c">spdlog::async_factory_impl::create</a></div><div class="ttdeci">static std::shared_ptr&lt; async_logger &gt; create(std::string logger_name, SinkArgs &amp;&amp;...args)</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00040">async.h:40</a></div></div>
<div class="ttc" id="classspdlog_1_1details_1_1registry_html_a58a1bbb352f751f6b729bc57bfadd6be"><div class="ttname"><a href="classspdlog_1_1details_1_1registry.html#a58a1bbb352f751f6b729bc57bfadd6be">spdlog::details::registry::instance</a></div><div class="ttdeci">static registry &amp; instance()</div><div class="ttdef"><b>Definition:</b> <a href="registry_8h_source.html#l00228">registry.h:228</a></div></div>
<div class="ttc" id="classspdlog_1_1details_1_1registry_html_aa5503db04a70a06f97e7c1218aa8cbe2"><div class="ttname"><a href="classspdlog_1_1details_1_1registry.html#aa5503db04a70a06f97e7c1218aa8cbe2">spdlog::details::registry::set_tp</a></div><div class="ttdeci">void set_tp(std::shared_ptr&lt; thread_pool &gt; tp)</div><div class="ttdef"><b>Definition:</b> <a href="registry_8h_source.html#l00106">registry.h:106</a></div></div>
<div class="ttc" id="namespacespdlog_html"><div class="ttname"><a href="namespacespdlog.html">spdlog</a></div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00027">async.h:27</a></div></div>
<div class="ttc" id="namespacespdlog_html_a6676a1ffb5ea174a2392ab0317bbcff2"><div class="ttname"><a href="namespacespdlog.html#a6676a1ffb5ea174a2392ab0317bbcff2">spdlog::thread_pool</a></div><div class="ttdeci">std::shared_ptr&lt; spdlog::details::thread_pool &gt; thread_pool()</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00083">async.h:83</a></div></div>
<div class="ttc" id="structspdlog_1_1async__factory__impl_html"><div class="ttname"><a href="structspdlog_1_1async__factory__impl.html">spdlog::async_factory_impl</a></div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00037">async.h:37</a></div></div>
<div class="ttc" id="namespacespdlog_1_1details_html_a050e412794a5af8916ef36e4ed100c25"><div class="ttname"><a href="namespacespdlog_1_1details.html#a050e412794a5af8916ef36e4ed100c25">spdlog::details::default_async_q_size</a></div><div class="ttdeci">static const size_t default_async_q_size</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00030">async.h:30</a></div></div>
<div class="ttc" id="async__logger_8h_html"><div class="ttname"><a href="async__logger_8h.html">async_logger.h</a></div></div>
<div class="ttc" id="namespacespdlog_html_af77f6ade95bb20dc2cf121403fbe1542"><div class="ttname"><a href="namespacespdlog.html#af77f6ade95bb20dc2cf121403fbe1542">spdlog::create_async</a></div><div class="ttdeci">std::shared_ptr&lt; spdlog::logger &gt; create_async(std::string logger_name, SinkArgs &amp;&amp;...sink_args)</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00064">async.h:64</a></div></div>
<div class="ttc" id="thread__pool_8h_html"><div class="ttname"><a href="thread__pool_8h.html">thread_pool.h</a></div></div>
<div class="ttc" id="namespacespdlog_html_ae58cce84c661c9d8726ab60c4d40e455"><div class="ttname"><a href="namespacespdlog.html#ae58cce84c661c9d8726ab60c4d40e455">spdlog::create_async_nb</a></div><div class="ttdeci">std::shared_ptr&lt; spdlog::logger &gt; create_async_nb(std::string logger_name, SinkArgs &amp;&amp;...sink_args)</div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00070">async.h:70</a></div></div>
<div class="ttc" id="registry_8h_html"><div class="ttname"><a href="registry_8h.html">registry.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="async_8h.html">async.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
